#ifndef _NETWORK_H_
#define _NETWORK_H_
#include<string>
using namespace std;
class NetWork{
public:
	virtual bool Initial() {return true;}
	virtual bool Connect(string &addr, UINT remotePort) = 0;
	virtual int Send(const char* buf, int len) = 0;
	virtual int Read() = 0;
	virtual void Close() = 0;
	virtual ~NetWork(){}
};
#endif